FROM registry.cn-hangzhou.aliyuncs.com/wangxuancheng/node-alpine:latest

WORKDIR /app

COPY package*.json ./

RUN npm install --registry=https://registry.npm.taobao.org

COPY . .

RUN npm run build:prod

ENTRYPOINT ["/bin/bash"]

# docker run -d  -v /www/wwwroot/gf/html/:/app/dist/  --name gf-vue registry.cn-hangzhou.aliyuncs.com/wangxuancheng/gf-vue